package cn.signalpha.modules.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 数据传输对象实体类
 *
 * @author signalpha
 */
@Data
@ApiModel(value = "ContactDTO对象", description = "联系方式")
public class ContactDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long id;

	@NotBlank
    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "简介")
    private String brief;

    @ApiModelProperty(value = "电话")
    private String mobile;

    @ApiModelProperty(value = "微信")
    private String wechat;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty(value = "邮件")
    private String email;

	@NotNull
	@ApiModelProperty(value = "排序值")
	private Integer sort;
}
